From: Carlos Garnacho Date: Fri, 12 Sep 2025 13:22:31 +0000 (+0200) Subject: pointerA11yTimeout: Adapt to API changes in Mutter X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~95^2^2~11 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=7b05afb46a472b02725e4137350bdb09abef7cbc;p=gnome-shell.git pointerA11yTimeout: Adapt to API changes in Mutter https://gitlab.gnome.org/GNOME/mutter/-/commit/76166d61 did sneak in an API change by removing the ClutterInputDevice arguments from the ClutterSeat::ptr-a11y-timeout-* signals. Through a series of astonishing coincidences, we don't use those arguments, so just remove them. Since the rest of the arguments were shifted, this fixes broken behavior of the PieTimer. Closes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/8654 Part-of: --- diff --git a/js/ui/pointerA11yTimeout.js b/js/ui/pointerA11yTimeout.js index 0b2eef506..6a9ceca66 100644 --- a/js/ui/pointerA11yTimeout.js +++ b/js/ui/pointerA11yTimeout.js @@ -112,7 +112,7 @@ export class PointerA11yTimeout { constructor() { const seat = global.stage.context.get_backend().get_default_seat(); - seat.connect('ptr-a11y-timeout-started', (o, device, type, timeout) => { + seat.connect('ptr-a11y-timeout-started', (o, type, timeout) => { let [x, y] = global.get_pointer(); this._pieTimer = new PieTimer(); @@ -125,7 +125,7 @@ export class PointerA11yTimeout { global.display.set_cursor(Meta.Cursor.CROSSHAIR); }); - seat.connect('ptr-a11y-timeout-stopped', (o, device, type, clicked) => { + seat.connect('ptr-a11y-timeout-stopped', (o, type, clicked) => { if (!clicked) this._pieTimer.destroy();